﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace HD.Model
{
    public class HDDBContext : DbContext
    {
        public HDDBContext()
            : base("Name=HDDB")
        {
            
        }
       
        public DbSet<Employee> Employees { get; set; }
        public DbSet<Department> Departments { get; set; }
        public DbSet<Follow> Follows { get; set; }
        public DbSet<News> News { get; set; }
        //public DbSet<NewsType> NewsTypes { get; set; }
        public DbSet<Posts> Posts { get; set; }
        public DbSet<PostsType> PostTypes { get; set; }
        //public DbSet<Role> Roles { get; set; }
        public DbSet<Task> Tasks { get; set; }
        public DbSet<TaskCompleted> TaskCompleteds  { get; set; }
        public DbSet<TaskInitiation> TaskInitiations { get; set; }

       
    }
}
